package com.aaa.service;

import com.github.pagehelper.PageInfo;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface RoomService {
    List<Map<String, Object>> findroom(String startdate, String enddate, Integer rtid);

    PageInfo<Map<String, Object>> roomload(Integer rtid, String state, Integer pageNum, Integer pageSize) throws ParseException;

    Object checkout(Integer rid) throws ParseException;

    List<Map<String, Object>> findchangeroom(Integer rid, Integer odid, String enddate);

    Object changeroom(Integer newrid, Integer odid, double enddate, Integer oldrid, Integer staff) throws ParseException;

    Integer addroom(String rname, Integer tid, String state);

    List<Map<String, Object>> checkroom(String rname);

    List<Map<String, Object>> findReadyRoom(String enddate);

    Object changeRoomMoney(Integer oldrid, Integer newrid, String enddate) throws ParseException;
}
